.voice-test-container {
  padding: 20px;
  background-color: #f5f5f5;
  min-height: 100vh;
}

.header {
  text-align: center;
  margin-bottom: 30px;
  
  .title {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 8px;
  }
  
  .subtitle {
    font-size: 14px;
    color: #666;
    display: block;
  }
}

.test-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.input-group {
  margin-bottom: 20px;
  
  .label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 8px;
  }
  
  .input-container {
    .url-input {
      width: 100%;
      padding: 12px 16px;
      border: 1px solid #ddd;
      border-radius: 8px;
      font-size: 14px;
      background: #fafafa;
      
      &:focus {
        border-color: #4096ff;
        background: white;
        outline: none;
      }
    }
  }
}

.button-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
  
  .test-button {
    background: #4096ff;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    
    &:active {
      background: #3a8bff;
    }
    
    &[loading] {
      background: #ccc;
    }
  }
}

.debug-section, .result-section, .tips-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.section-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  display: block;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #4096ff;
}

.debug-info, .test-result {
  .info-item, .result-item {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #666;
    border-bottom: 1px solid #f0f0f0;
    
    &:last-child {
      border-bottom: none;
    }
    
    &.error {
      color: #ff4d4f;
      font-weight: 600;
    }
  }
}

.final-state {
  margin-top: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  
  .state-item {
    display: block;
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    
    &:last-child {
      margin-bottom: 0;
    }
  }
}

.report-button {
  background: #52c41a;
  color: white;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  margin-top: 16px;
  
  &:active {
    background: #4bb015;
  }
}

.tips {
  .tip-item {
    display: block;
    padding: 6px 0;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
  }
}

// 响应式设计
@media (max-width: 768px) {
  .voice-test-container {
    padding: 16px;
  }
  
  .button-group {
    .test-button {
      font-size: 14px;
      padding: 10px 16px;
    }
  }
}
